/** When your routing table is too long, you can split it into small modules**/

import managPublicLayout from "../../views/manageSysExamplePublicLayout/index.vue";

const sysPublic = {
  path: "/public",
  component: managPublicLayout,
  redirect: "/public",
  name: "public",
  meta: {
    title: "公共页面",
    icon: "chart"
  },
  children: [
    {
      path: "/system/user_management",
      name: "manageSysUser",
      component: () => import("@/views/manageSysUser/index.vue"),
      meta: {
        title: "用户管理",
        icon: "link"
      }
    },
    {
      path: "/system/log",
      name: "manageSysLog",
      component: () => import("@/views/manageSysLog/index.vue"),
      meta: {
        title: "日志管理",
        icon: "link"
      }
    },
    {
        path: "/personage/message",
        name: "manageSysPersonMsg",
        component: () => import("@/views/manageSysPersonMsg/index.vue"),
        meta: {
          title: "账户信息",
          icon: "link"
        }
      },
      {
        path: "/personage/set",
        name: "manageSysPersonSet",
        component: () => import("@/views/manageSysPersonSet/index.vue"),
        meta: {
          title: "账户设置",
          icon: "link"
        }
      },
      {
        path: "/role/management",
        name: "manageSysRole",
        component: () => import("@/views/manageSysRole/index.vue"),
        meta: {
          title: "角色管理",
          icon: "chart"
        }
      },
      {
        path: "/menu/management",
        name: "manageSysMenu",
        component: () => import("@/views/manageSysMenu/index.vue"),
        meta: {
          title: "菜单管理",
          icon: "chart"
        }
      },
      {
        path: "/resource/management",
        name: "manageSysResource",
        component: () => import("@/views/manageSysResource/index.vue"),
        meta: {
          title: "资源管理",
          icon: "chart"
        }
      },
  ]
};

export default sysPublic;
